package com.app.micaihu.bean.config;

/**
 * Created by Guo on 2017/7/4.光
 *
 * 服务器配置的 投放文章
 *
 */

public class ServiceDeliveryData {
    private String articleId;
    private String activityId;//活动ID,以此为key
    private String articleType;
    private String thumb;
    private String jumpUrl;//跳转链接.现在新增 activioty://openSign 类型,跳转到签到页面
    private String showFrequency;//展示频率 0：只展现1次 1：每天1次 2：永久展现
    private String positionType;//展示位置 0我的 1首页
    private String displayType;//展示类型 0：弹窗 1banner轮播

    private String isLogin;//是否需要登录 1是 0否

    private String date;//日期




    private boolean isShowInThisLaunch;//在当次启动中,是否展示过____暂时的作用是用在永久展示中,当前启动动作中收展示过


    private int extraData = 0;//当前活动的类型;  0是正常活动    1是红包


    public int getExtraData() {
        return extraData;
    }

    public void setExtraData(int extraData) {
        this.extraData = extraData;
    }

    public boolean isShowInThisLaunch() {
        return isShowInThisLaunch;
    }

    public void setShowInThisLaunch(boolean showInThisLaunch) {
        isShowInThisLaunch = showInThisLaunch;
    }


    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public boolean getIsLogin() {
        return "1".equals(isLogin);
    }

    public void setIsLogin(String isLogin) {
        this.isLogin = isLogin;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public String getArticleType() {
        return articleType;
    }

    public void setArticleType(String articleType) {
        this.articleType = articleType;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getJumpUrl() {
        return jumpUrl;
    }

    public void setJumpUrl(String jumpUrl) {
        this.jumpUrl = jumpUrl;
    }

    public String getShowFrequency() {
        return showFrequency;
    }

    public void setShowFrequency(String showFrequency) {
        this.showFrequency = showFrequency;
    }

    public String getPositionType() {
        return positionType;
    }

    public void setPositionType(String positionType) {
        this.positionType = positionType;
    }

    public String getDisplayType() {
        return displayType;
    }

    public void setDisplayType(String displayType) {
        this.displayType = displayType;
    }
}
